package jinyilw.swing.visuals.text;

import javax.swing.JEditorPane;
import javax.swing.text.EditorKit;

public class CenterEditorPane extends JEditorPane
{
	private static final long serialVersionUID = 5842527793673784979L;

	@Override
	protected EditorKit createDefaultEditorKit()
	{
		return new CenterEditorKit();
	}

	@Override
	public void updateUI()
	{
		setUI(new CenterEditorPaneUI());
		invalidate();
	}

}
